import java.security.MessageDigest
def today = new Date().format("yyyy-MM-dd")
def snstr = 'a=$a&b=$b&today=$today'
def sn = MessageDigest.getInstance("MD5").digest("$snstr".bytes).encodeHex().toString().toLowerCase()

println sn